import type { App } from 'vue'
import { createPinia } from 'pinia'
import configStore from './modules/config';
import piniaPluginPersist from 'pinia-plugin-persist';


export const store = createPinia()
store.use(piniaPluginPersist);

export function setupStore(app: App) {
  app.use(store)
}

export { configStore };
export * from './hook'
